<?php
/**
 * Created by PhpStorm.
 * User: boye009
 * Date: 2016/4/12
 * Time: 9:28
 */

namespace Shop\Api;

use Common\Api\Api;
use Shop\Model\ProductFaqModel;

class ProductFaqApi extends Api{

    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "Shop/ProductFaq/queryNoPaging";
    /**
     * 添加
     */
    const ADD = "Shop/ProductFaq/add";
    /**
     * 保存
     */
    const SAVE = "Shop/ProductFaq/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "Shop/ProductFaq/saveByID";

    /**
     * 删除
     */
    const DELETE = "Shop/ProductFaq/delete";

    /**
     * 查询
     */
    const QUERY = "Shop/ProductFaq/query";

    /**
     * 查询
     */
    const QUERY_WITH_COUNT = "Shop/ProductFaq/queryWithCount";
    /**
     * 查询一条数据
     */
    const GET_INFO = "Shop/ProductFaq/getInfo";

    /**
     * 统计
     */
    const COUNT = "Shop/ProductFaq/count";


    protected function _init(){
        $this -> model = new ProductFaqModel();
    }

}